class Triangle_do_while
{
	public static void main(String args[])
	{
		int count,x;
		
	x=0;
	count=1;
	do
		{
			x=x+count;
			System.out.println(x);
			count++;
		}
			while(count<=10);
	}	
}
	